<%@ Control Language="C#" ClassName="StatePages" Inherits="Dimok.Web.UI.TableControl" %>

<asp:UpdatePanel ID="pnlStatePages" UpdateMode="Always" runat="server">
	<ContentTemplate>
		<UI:GridViewEx ID="grv" runat="server" AutoGenerateColumns="False" DataSourceID="ds"
			ShowFooter="True" AllowSorting="True" BackColor="Window" CellPadding="0" EnableTheming="True"
			Font-Names="verdana" DataKeyNames="PageID"
			>
			<Columns>

<asp:TemplateField HeaderText="Description" SortExpression="PageDesc">
	<ItemTemplate><%#Eval("PageDesc") %></ItemTemplate>
	<EditItemTemplate><asp:TextBox ID="txtPageDesc" Text='<%# Bind("PageDesc") %>' runat="server" /></EditItemTemplate>
	<FooterTemplate><asp:TextBox ID="PageDesc" Text='<%# Bind("PageDesc") %>' cssclass="Streach" runat="server" /></FooterTemplate>
</asp:TemplateField>
<asp:TemplateField HeaderText="Path" SortExpression="PageURL">
	<ItemTemplate><%#Eval("PageURL")%></ItemTemplate>
	<EditItemTemplate><asp:TextBox ID="txtPageURL" Text='<%# Bind("PageURL") %>' runat="server" /></EditItemTemplate>
	<FooterTemplate><asp:TextBox ID="PageURL" Text='<%# Bind("PageURL") %>' cssclass="Streach" runat="server" /></FooterTemplate>
</asp:TemplateField>

			</Columns>
		</UI:GridViewEx>
	</ContentTemplate>
</asp:UpdatePanel>

<DS:StatePagesDataSource ID="ds" runat="server" />
